'''
        Created on 2013-6-11
        
        @author: ZuoPeng
        '''
import os
def walk_dirs(path,handle_f):
    for root,dirs,files in os.walk(path):
        for fname in files:
            handle_f(os.path.join(root,fname))
#         for d in dirs:
#             walk_dirs(os.path.join(root,d),handle_f)            
        
        